package src.messagesToServer;

import src.messagesToClient.MessageToClient;
import src.serverSide.Control;

/**
 * This class is a command to the server to unlock the login of the given user
 * @author John Stewart
 */
public class UnlockLogin extends MessageToServer {
	private int userid;

	public UnlockLogin(int newuserid) {
		userid = newuserid;
	}

	@Override
	public MessageToClient execute(String address, Control control) {
		return control.unlock(address, userid);
	}

}
